package com.ygqh.baby.mapper;
import com.ygqh.baby.po.AdminSettlement;
import com.ygqh.baby.po.AdminSettlementExample;
import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.SettlementStatus;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;
public interface AdminSettlementMapper {
    int countByExample(AdminSettlementExample example);

    int deleteByExample(AdminSettlementExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AdminSettlement record);

    int insertSelective(AdminSettlement record);

    List<AdminSettlement> selectByExample(AdminSettlementExample example);

    AdminSettlement selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AdminSettlement record, @Param("example") AdminSettlementExample example);

    int updateByExample(@Param("record") AdminSettlement record, @Param("example") AdminSettlementExample example);

    int updateByPrimaryKeySelective(AdminSettlement record);

    int updateByPrimaryKey(AdminSettlement record);
    
    int countSuper(@Param ("q") String q,@Param ("id")Long id,@Param ("supplierName")String supplierName,@Param ("contractCode")String contractCode,@Param ("startDate")Date startDate,@Param ("endDate")Date endDate,@Param ("settlementStatus")String settlementStatus);
    
    List<AdminSettlement> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q,@Param ("id")Long id,@Param ("supplierName")String supplierName,@Param ("contractCode")String contractCode,@Param ("startDate")Date startDate,@Param ("endDate")Date endDate,@Param ("settlementStatus")String settlementStatus); 
}



